{% extends "base.html" %}

{% block title %}Checkin/Checkout{% endblock %}
{% block crumb %}&rsaquo; Check-in{% endblock %}

{% block onload %}setFocus();{% endblock %}

{% block content %}
	<script type="text/javascript">
		function setFocus() {
			document.getElementById("id_idCard").focus();
		}
	</script>
	
	{% include "checkin/recent.html" %}
	
	{% include "checkin/navigation1.html" %}
  
  {% if message %}
    {{message}}
  {% endif %}
  <form action="" class="checkin" method="post">{% csrf_token %}
      {{ form.as_p }}
      <input type="submit" class="checkinSubmit" value="Read">
  </form>
{% endblock %}